package com.liang.service.impl;

import java.util.List;

import com.liang.dao.BoyFriendDao;
import com.liang.pojo.BoyFriend;
import com.liang.service.BoyFriendService;

public class BoyFriendServiceImpl implements BoyFriendService{
	private BoyFriendDao boyFriendDao;
	public void setBoyFriendDao(BoyFriendDao boyFriendDao) {
		this.boyFriendDao=boyFriendDao;
	}
	
	
	public List<BoyFriend> selectBoyFriendList() {
		return boyFriendDao.selectBoyFriendList();
	}
	public BoyFriend selectBoyFriendBydetail(String bdetail) {
		return boyFriendDao.selectBoyFriendBydetail(bdetail);
	}
	public int insertBoyFriend(BoyFriend boyFriend) {
		return boyFriendDao.insertBoyFriend(boyFriend);
	}
	public int updateBoyFriend(BoyFriend boyFriend) {
		return boyFriendDao.updateBoyFriend(boyFriend);
	}
	public int deleteBoyFriend(int bage) {
		return boyFriendDao.deleteBoyFriend(bage);
	}
}
